<?php
namespace App\Auth;

class BasicAuth
{    
    /**
     * 生成Authorization
     *
     * @Author LYC 17750800820@163.com
     * @DateTime 2020-04-22 17:10:00     
     * @return string Authorization
     */
    public function auth($account, $passwd)
    {
        return base64_encode('Basic ' . $account . ':' . $passwd);
    }
}
